package com.ctgu.tengyun.service.customer;

import com.ctgu.tengyun.domain.CustomerInfo;
import com.ctgu.tengyun.domain.SparePartInfo;

import java.util.Collection;
import java.util.List;

/**
 * Created by liaoweizhi on 2019/8/7.
 */
public interface CustomerInfoService {

    int insertSelective(CustomerInfo record);

    CustomerInfo selectByContactNo(String contactNo);

    Integer countCustomer(CustomerInfo customerInfo);

    List<CustomerInfo> selectCustomerList(CustomerInfo customerInfo, Integer pageNo, Integer pageSize);

    CustomerInfo selectByPrimaryKey(Long id);

    List<CustomerInfo> selectByIds(Collection<Long> ids);

    int updateByPrimaryKeySelective(CustomerInfo record);
}
